<fieldset>
	<legend></legend>
	<table width="90%" align="center">

		<tr>
			<td valign="top">
				<div align="right">
					<a href="reg-cadaver.php?codPadre=<?php echo $oUE->getCodue() ?>">Registrar
						cad&aacute;ver</a>
				</div>
			</td>
		</tr>
	</table>
	<br />
	<table width="90%" align="center" border="0" id="tablaCadaveres" >
		<thead>
			<tr>
				<th width="19%">Cod. UE</th>
				<th width="19%">Descripci&oacute;n</th>
				<th width="16%">&nbsp;</th>
				<th width="16%">&nbsp;</th>
			</tr>
		</thead>
		<tbody>
			<?php 
			if($codUe) {
				$oAUEstratigrafica = new aUEstratigrafica();

				$listaCadaveres = $oAUEstratigrafica->getListaUExPadre($codUe);

				if(is_array($listaCadaveres)) {
							foreach($listaCadaveres as $cadaver) {
								echo "<tr>";
								echo "<td>";
								echo $cadaver->getCodUeText();
								echo "</td>";
								echo "<td>";
								echo $cadaver->getDescripcion();
								echo "</td>";
								echo "<td><a href='reg-cadaver.php?codUe=".$cadaver->getCodUE()."'>Editar</a></td>";
								echo "<td><a href='#' onclick='remover_cadaver()'>Eliminar</a></td>";
								echo "</tr>";
							}
						}
			}
			?>
		</tbody>
	</table>
</fieldset>
